package com.hellobike.haxing.modules.order.service;

import com.hellobike.haxing.modules.order.entity.OrderAftersaleDetail;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.Map;
/**
 * @Description: 售后订单明细
 * @Author: haxing-boot
 * @Date:   2020-02-08
 * @Version: V1.0
 */
public interface IOrderAftersaleDetailService extends IService<OrderAftersaleDetail> {
    /**
     * 售后成功的订单明细退款金额
     * @param orderId
     * @return
     */
    Map<Long, BigDecimal> queryOrderDetailReturnAmount(Long orderId);
}
